package com.ag.contactTree.service;

import static org.junit.Assert.*;

import java.util.List;

import javax.annotation.Resource;

import org.apache.log4j.Logger;
import org.junit.Test;

import com.ag.bean.TbDeptType;
import com.ag.common.BaseTest;
import com.ag.common.IDUtil;

public class LocalTreeServiceTest extends BaseTest{
	private static Logger logger = Logger.getLogger(Test.class);
	
	@Resource(name = "LocalTreeService")
	private LocalTreeService treeserivce;
	@Test
	public void testFindDeptType() {
		List<TbDeptType> result = this.treeserivce.findDeptType();
		for(TbDeptType deptType:result)
				logger.info("deptType="+deptType.getDtId()+" typeName: "+deptType.getDtName());
		fail("Not yet implemented");
	}

	@Test
	public void testFindBydeptType() {
		
		fail("Not yet implemented");
	}

}
